package com.example.yyjc.domain.industryanalyze;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName SecondCatOrderScale
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-11-23 16:01
 **/
@Data
@Alias("secondCatOrderScale")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class SecondCatOrderScale extends BaseRowModel {

    /**
     * 订单区间
     */
    @ExcelProperty(value = "订单区间(导入时,区间范围需严格跟例子一致)")
    @ColumnWidth(value = 55)
    private String orderSection;

    /**
     * 商品数量
     */
    @ExcelProperty(value = "商品数量")
    @ColumnWidth(value = 15)
    private Integer goodsCount;

    /**
     * 订单数量
     */
    @ExcelProperty(value = "订单数量")
    @ColumnWidth(value = 15)
    private Integer orderCount;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private String createTime;

    /**
     * 二级类目id
     */
    @ExcelProperty(value = "二级类目id")
    @ColumnWidth(value = 20)
    private Integer secondCatId;

    /**
     * 商品数量比例
     */
    @ExcelProperty(value = "商品数量比例")
    @ColumnWidth(value = 20)
    private String goodsCountScale;

    /**
     * 订单数量比例
     */
    @ExcelProperty(value = "订单数量比例")
    @ColumnWidth(value = 20)
    private String orderCountScale;
}
